Sendcloud\Shipping\Checkout\Shipping\Free_Shipping_Shipping_Method S

Total Complexity 35
Dependencies 6
Dependents 1
Total lines 264
Lines of code 158
Logical lines of code 67
Comment lines 55
Methods 11
Properties 6

Methods 11

Method Rating Maintainability Complexity Lines of code
check_free_shipping()
A
54 9 21
has_coupon()
S
59 6 15
override_form_fields_config()
S
55 4 19
calculate_shipping_cost()
S
61 4 12
calculate_shipping()
S
55 3 20
add_extra_fields()
S
46 1 41
is_rate_enabled()
S
77 3 3
create_order()
S
64 2 9
init()
S
64 1 9
init_form_fields()
S
77 1 4
get_delivery_method()
S
73 1 5